import api from './index';
export const getFileDir=(dir)=>{
return api.get(`/file/dir/${dir}`)
}
export const normalUploadDir=(dirArr,className)=>{
    return api.post('/file/upload/normal',{
dirArr,
className
    })
}
export const classifiedUpload=(dirArr,className,userCount,depositSrc)=>{
return api.post('/file/upload/classified',{
    dirArr,className,userCount,depositSrc
})
}
export const compressUploadasyncDir=(dirArr,className)=>{
    return api.post('/file/upload/compress',{
dirArr,
className
    })
}